'use strict';

var React = require('react');
var Router = require('react-router'); 
var RouteHandler = Router.RouteHandler;
var Tab = require('../modules/tab.jsx');


var QuestionsViewComponent = React.createClass({
  render: function() {
	var tabkey =[{name:'问题大厅',to:'QuestionsTabOne', parent : 'questions'}];
    return (
      /* jshint ignore:start */
      <div className="wall-wrap">
        	<Tab data={tabkey}></Tab>
        	<RouteHandler {...this.props} />
      </div>
      /* jshint ignore:end */
    );
  }
});

module.exports = QuestionsViewComponent;